home *** CD-ROM | disk | FTP | other *** search
/ AmigActive 24 / AACD 24.iso / AACD / Online / Epic4 / share / epic / help / 6_functions / stripansicodes < prev    next >
Text File  |  2001-03-21  |  650b  |  21 lines

  1. Synopsis:
  2.    $stripansicodes(<text>)
  3.  
  4. Technical:
  5.    This function will "normalize" <text> in two ways, according to the value
  6.    of the set(4) DISPLAY_ANSI variable.
  7.    
  8.    If DISPLAY_ANSI is ON, all ANSI escape codes will be either converted into
  9.    logical codes (^C colors, ^B bolds, etc) or removed entirely.
  10.    
  11.    If DISPLAY_ANSI is OFF, the escape will be mangled into a reverse '['
  12.    character, and the rest of the code is left intact.
  13.  
  14. Returns:
  15.    <text> with its ANSI sequences processed according to the value of
  16.    DISPLAY_ANSI
  17.  
  18. See Also:
  19.    set(4) display_ansi; strip(6); stripansi(6); stripc(6); printlen(6)
  20.  
  21.